<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  	<head>
    	<base href="<%=basePath%>">
	    <title>tag标签</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">    
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="<%=basePath%>css/style.css">
		<link rel="stylesheet" type="text/css" href="<%=basePath%>css/admin.css" />
		<link rel="stylesheet" type="text/css" href="<%=basePath%>css/common.css" />
		<script src="<%=basePath%>js/sys/validate.js" type="text/javascript"></script>
		<script src="<%=basePath%>js/json.js" type="text/javascript"></script>
		<script src="<%=basePath%>js/prototype.js" type="text/javascript"></script>
		<script type="text/javascript" charset="utf-8" defer="defer" src="<%=basePath%>js/wdatepicker/WdatePicker.js"></script>
		<script type="text/javascript">
			function changeColor(id){
				document.getElementById("td2").className="bg_image";
				document.getElementById("td4").className="bg_image";
				if(id=="td2"){
					document.getElementById("td2").className="bg_image_onclick";
				}else if(id=="td4"){
					document.getElementById("td4").className="bg_image_onclick";
				}
			}			
		</script>
  	</head>
  	<body>
  		<table width="95%" border="0" align="center" cellspacing="0" >
      		<tr>
      			<td align="center">
      				<br/>
      				<div id="nav"> 
					    <ul>
					    	<!-- 
					    	<li><a  href="<%=basePath%>admin/system/rightsMgmt/right!listRight.action" target="statistics"
								class="bg_image_onclick" id="td1" name="td1"  onclick="changeColor(this.id);" style="cursor: hand">权限管理</a></li> 
								-->
						    <li><a  href="<%=basePath%>admin/system/rightsMgmt/role!listRole.action" target="statistics"
								class="bg_image_onclick" id="td2" name="td2"  onclick="changeColor(this.id);" style="cursor: hand">角色管理</a></li>
							<!--
							<li><a  href="<%=basePath%>admin/system/rightsMgmt/groups!listGroups.action" target="statistics"
								class="bg_image" id="td3" name="td3"  onclick="changeColor(this.id);" style="cursor: hand">群组管理</a></li>
							-->
							<li><a  href="<%=basePath%>/admin/system/userMgr/userMgr!listUserRole.action" target="statistics"
								class="bg_image" id="td4" name="td4"  onclick="changeColor(this.id);" style="cursor: hand">用户管理</a></li>
						</ul>
					</div>
      			</td>
     		</tr>
		</table>
		<iframe id="statistics" name="statistics" width="100%" height="100%" 
			frameborder="0" scrolling="no" src="<%=basePath%>admin/system/rightsMgmt/role!listRole.action"></iframe>
	</body>
</html>
